|
|
> That's a different bug i think, for the same reason, the insert menu
> crashed in the waveform sample too. Bob's workaround was to use #local
> and #undef.
Where can I get this file? I could only find the waveform.bmp, but no
.pov for it.
I tried with #local and #undef, but no success so far. Well, I added
the array to still access the calculated function, else there would
be no point for my code..
#local A = array[10]
#local I = 0;
#while(I < 2)
#local C = pigment { crackle }
#local CF = function { pigment { C } }
#local A[I] = function { CF }
#undef CF
#undef C
#local I = I + 1;
#end
Thanks for this reply and any other suggestions. In case there is
no easy work around, I just wait for the next beta :) (b5 crashes
all the time, and b4 refuses to work.. so not much choice..)
Probably it's not the best idea to develop with a beta anyway, I
still have constants at odd places, because of an earlier bug :)
--
#macro C(X,Y)cylinder{X*x<X,0,-Y/2>.1}#end#macro U(R,X,Y)intersection{torus{.9
.1}box{-1 0rotate y*R*90}translate<X,0,Y>scale 1-z*.5}#end union{U(0,0,0)U(1,0
,0)U(2,-1,-1)U(1,1,0)U(1,1.5,-3)U(1,2,0)U(3,1,0)U(2,2,0)U(0,3,0)U(3,2,.5)C(.1,
2)C(.8,1)C(.8,-1)C(1.1,1)C(1.9,-1)pigment{rgb 10}rotate x*90translate<-1,0,4>}
Post a reply to this message
|
|